<?php

	session_start();
	require_once('../inc/fnc.php');
	
	if ( $_SESSION['userId'] == $_POST['userId']){ $path = deleteuserimage($_POST['userId']); } else { $path = $return['type'] = 3; }
	echo json_encode($path);

?>